package com.situ.hibernate.threadpool;

public class ThreadPoolRunnable implements Runnable {
	   @Override
	   public void run() {
	     System.out.println(Thread.currentThread().getName() + "线程启动");
	     try {
	        Thread.sleep(1000);
	     } catch (InterruptedException e) {
	        e.printStackTrace();
	     }
	     System.out.println(Thread.currentThread().getName() + "线程使用完毕归还线程池.");
	   }
	}
